package com.evildog.workspace.invest.application.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.evildog.workspace.dependencies.mybatis.object.QueryConditionDTO;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import com.evildog.workspace.invest.application.entity.Budget;
import com.evildog.workspace.invest.application.entity.BudgetPageDO;
import com.evildog.workspace.invest.application.entity.BudgetListDO;
import com.evildog.workspace.invest.application.dto.BudgetPageDTO;
import com.evildog.workspace.invest.application.dto.BudgetListDTO;
import com.evildog.workspace.invest.application.dto.BudgetDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * budget Mapper 接口
 * </p>
 *
 * @author evildog
 * @since 2020-08-06
 */
public interface BudgetMapper extends BaseMapper<Budget> {

    /**
    * 自定义分页
    */
    IPage<BudgetPageDO> getPageList(IPage<BudgetPageDO> page, @Param("queryCondition") List<QueryConditionDTO> queryConditions, @Param("param") BudgetPageDTO pageDTO);

    /**
    * list
    */
    List<BudgetListDO> getList(@Param("queryCondition") List<QueryConditionDTO> queryConditions, @Param("param") BudgetListDTO param);

}
